package com.yidu.drug.dao;

import java.util.List;

import com.yidu.drug.model.DrugManagerRoleModel;

public interface DrugManagerRoleModelMapper {
	
    int deleteByPrimaryKey(String mrId);
    
    int insert(DrugManagerRoleModel record);

    int insertSelective(DrugManagerRoleModel record);

    DrugManagerRoleModel selectByPrimaryKey(String mrId);

    int updateByPrimaryKeySelective(DrugManagerRoleModel record);

    int updateByPrimaryKey(DrugManagerRoleModel record);

	int deleteByUsId(String manId);

	List<DrugManagerRoleModel> findRoleByManId(String manId);

	int deleteByRoleId(String id);
}